package zju.ccnt.rest.repository;

import org.springframework.data.repository.PagingAndSortingRepository;
import org.springframework.stereotype.Repository;
import zju.ccnt.rest.domain.EndUser;

/**
 * Created by zha on 14/11/6.
 */
@Repository
public interface EndUserRepository extends PagingAndSortingRepository<EndUser, String>{
    public EndUser findByEmail(String email);
    public EndUser findById(String id);
}
